//
//  PensionViewController.m
//  WisdomCommunity
//
//  Created by Yahaong on 16/8/8.
//  Copyright © 2016年 zonten. All rights reserved.
//

#import "PensionViewController.h"
#import "YHMarcros.h"

@interface PensionViewController ()

@end

@implementation PensionViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.navigationItem.title  = @"智慧养老";
    self.view.backgroundColor = [UIColor whiteColor];
    self.edgesForExtendedLayout = UIRectEdgeNone;
    self.automaticallyAdjustsScrollViewInsets = NO;
    UIImageView *imageView = [[UIImageView alloc]initWithImage:[UIImage imageNamed: @"提醒没有数据_"]];
    [self.view addSubview:imageView];
    [imageView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerX.equalTo(self.view);
        make.width.equalTo(220);
        make.height.equalTo(165);
        make.top.equalTo(self.view).offset(100);
    }];
    
    UILabel *label = [[UILabel alloc]init];
    label.textColor = RGBColor(102, 102, 102);
    label.numberOfLines = 0;
    label.text = @"    亲，您所在的小区附近该项目还未启动，敬请期待！！";
    [self.view addSubview:label];
    
    [label mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(imageView.bottom).offset(30);
        make.trailing.equalTo(imageView).offset(10);;
        make.leading.equalTo(imageView).offset(-10);
    }];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
